#!/bin/bash
# 执行 ./npm.sh  ./project
for file in `ls $1` 
  do
    if [ -d $1$file ]
     then
      echo "$1$file"
       cd $1$file
        pwd
   fi
done